package com.example.demo.factoryMethodPattern.pen;

public abstract class PenCore {
    public String color;
    public PenCore(String color){
        this.color=color;
    }
    public abstract  void writeWord(String s);
}
